$(function () {
	    		$("li").click(function () {
                alert("hi");
			$(this).css("background","red")
			.siblings().css("background","#aef");
			//alert(this.id);
			//$("#sh1").val()=$(this.)
			var t = $(this).text();
			//var t = this.text;
			var aid = this.id;
			alert(t);
			$("#s").attr("value",t);
			$("#p1").attr("value",aid);
			//var v =$("#s").val();
			//v=$(this).text();
			//alert(v);
})
})